public class Person {
    int age;
    String sex;
    public void age(){
        System.out.println(age);
    }
    public void sex(){
        System.out.println(sex);
    }
    public void walk(){
        System.out.println("我在走路");
    }
    public void say(){
        System.out.println("我在说话");
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

}

